package com.torry.workflow.api.wo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.torry.workflow.common.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author torry
 * @since 2022-03-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("process_node")
@ApiModel(value = "ProcessNode对象", description = "")
public class ProcessNode extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private String name;

    private String page;

    private Integer operatorType;

    private Integer operatorGroupId;

    private Integer operatorId;

    private Integer sendEmail;

    private String nextEvents;

    private String rollbackEvents;

    private String condition;

    @TableField(exist = false)
    private boolean enable;

}
